package com.my.blog.website.article;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import com.my.blog.website.utils.Commons;

/**
 * MarkDown测试
 * Created by BlueT on 2019-4-3 19:58:54
 */
@RunWith(SpringRunner.class)
@SpringBootTest
@AutoConfigureMockMvc
public class MarkDown {
	
	@Resource
	Commons commons;
	
	@Test
	public void test01(){
		
		System.out.println(commons.article("aaa\n  bbb\n     ccc"));
	}

}
